package sy.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name = "iot_patrol_uri", catalog = "ssh")
public class IotPatrolURI implements java.io.Serializable{
	private Integer id;
	private String uri;
	private String uniqueCode;
	private String name;
	private String remarks;
	private String token;
	private Date tokenUpdateTime;
	
	public IotPatrolURI() {
		super();
	}
	
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	@Column(name = "uri")
	public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}
	@Column(name = "uniqueCode")
	public String getUniqueCode() {
		return uniqueCode;
	}

	public void setUniqueCode(String uniqueCode) {
		this.uniqueCode = uniqueCode;
	}
	@Column(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	@Column(name = "remarks")
	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	@Column(name = "token")
	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}
	@Column(name = "tokenUpdateTime")
	public Date getTokenUpdateTime() {
		return tokenUpdateTime;
	}

	public void setTokenUpdateTime(Date tokenUpdateTime) {
		this.tokenUpdateTime = tokenUpdateTime;
	}

}
